package com.yy.vo;

public class Shopping {
    private Integer gid;
    private String title;
    private Integer count;
    private Double price;
    private Double total;

    public Shopping() {
    }

    public Shopping(Integer gid, String title, Integer count, Double price, Double total) {
        this.gid = gid;
        this.title = title;
        this.count = count;
        this.price = price;
        this.total = total;
    }

    /**
     * 获取
     * @return gid
     */
    public Integer getGid() {
        return gid;
    }

    /**
     * 设置
     * @param gid
     */
    public void setGid(Integer gid) {
        this.gid = gid;
    }

    /**
     * 获取
     * @return title
     */
    public String getTitle() {
        return title;
    }

    /**
     * 设置
     * @param title
     */
    public void setTitle(String title) {
        this.title = title;
    }

    /**
     * 获取
     * @return count
     */
    public Integer getCount() {
        return count;
    }

    /**
     * 设置
     * @param count
     */
    public void setCount(Integer count) {
        this.count = count;
    }

    /**
     * 获取
     * @return price
     */
    public Double getPrice() {
        return price;
    }

    /**
     * 设置
     * @param price
     */
    public void setPrice(Double price) {
        this.price = price;
    }

    /**
     * 获取
     * @return total
     */
    public Double getTotal() {
        return total;
    }

    /**
     * 设置
     * @param total
     */
    public void setTotal(Double total) {
        this.total = total;
    }

    public String toString() {
        return "Shopping{gid = " + gid + ", title = " + title + ", count = " + count + ", price = " + price + ", total = " + total + "}";
    }
}
